<?php
	header("Content-Type: text/html;charset=utf-8");
	include("function/_nosql.php"); //
	include("function/function.php");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>步道/足迹_<?= $web_titles ?></title>
<meta name="Keywords" content="步道/足迹,<?= $web_keywords ?>" />
<meta name="Description" content="<?= $web_description ?>" />
<link rel="stylesheet" href="css/common.css"/>
<link rel="stylesheet" href="css/style.css"/>
</head>
<body>
    <!--top-bar begin-->
	<? include("_include.top.topbar.php") ?>
    <!--top-bar end-->
    <!--header begin-->
	<? include("_include.top.navbar.php") ?>
    <!--header end-->
    <!--banner begin-->
    <div class="inner-banner">
        <div class="inner-pic"><img src="images/ban2.jpg" alt=""/></div>
        <!--<div class="search-box">
			<form name="SearchForm" id="SearchForm" method="post" action="active_search.php">
            <input type="text" class="search-text input_wby" holdplace="搜索目的地/攻略/活动" name="search_text"/>
            <input type="submit" class="search-send" value=""/>
			</form>
        </div>-->
    </div>
    <!--banner end-->
    <!--活动 begin-->
    <div class="f-item-box">
        <div class="content">
            <div class="f-item-title">
                <p class="tips">IVV TRAILS</p>
                <div class="title-in">
                    <span class="sprite_l"></span>
                    <a href="javascript:;">IVV步道</a>
                    <span class="sprite_r"></span>
                </div>
            </div>
            <div class="bd-content">
                <div class="con-f5">
                    <div class="trails-info-l">
                        <h3><?=getClassName("kboy_news","news_title","news_bigclass=80")?></h3>
                        <p><?=getClassName("kboy_news","news_text","news_bigclass=80")?><a href="trailivv.php">更多&gt;&gt;</a></p>
                    </div>
                        <div class="ivv-info-r">
                            <ul>
					<?php
						$piclink_sql = "select * from kboy_piclink where news_bigclass=25 order by news_top desc,news_order desc, id desc limit 1";
						$piclink_row = mysql_query($piclink_sql);
						while($piclink_rs = mysql_fetch_array($piclink_row)){
					?>
                                <li class="info1">
					<?php
						$news_tourls = "";
						if($piclink_rs['news_tourls']){
							$piclink_tourls = " href=\"".$piclink_rs['news_tourls']."\" target=\"_blank\"";
						}else{
							$piclink_tourls = " href=\"javascript:void(0);\"";
						}
						
					?>
                                    <a<?=$piclink_tourls?>>
                                        <div class="pic"><img src="<?=$piclink_rs['news_pic']?>" width="195" height="130" alt=""/></div>
                                        <div class="title"><?=$piclink_rs['news_title']?></div>
                                    </a>
                                </li>
					<?php
						}



						$piclink_sql = "select * from kboy_piclink where news_bigclass=29 order by news_top desc,news_order desc, id desc limit 1";
						$piclink_row = mysql_query($piclink_sql);
						while($piclink_rs = mysql_fetch_array($piclink_row)){
					?>
                                <li class="info1">
					<?php
						$news_tourls = "";
						if($piclink_rs['news_tourls']){
							$news_tourls = " href=\"".$piclink_rs['news_tourls']."\" target=\"_blank\"";
						}else{
							$news_tourls = " href=\"javascript:void(0);\"";
						}
						
					?>
                                    <a<?=$news_tourls?>>
                                        <div class="pic"><img src="<?=$piclink_rs['news_pic']?>" width="195" height="130" alt=""/></div>
                                        <div class="title"><?=$piclink_rs['news_title']?></div>
                                    </a>
                                </li>
					<?php
						}
						
						
						$piclink_sql = "select * from kboy_piclink where news_bigclass=30 order by news_top desc,news_order desc, id desc limit 1";
						$piclink_row = mysql_query($piclink_sql);
						while($piclink_rs = mysql_fetch_array($piclink_row)){
						$news_tourls = "";
						if($piclink_rs['news_tourls']){
							$news_tourls = " href=\"".$piclink_rs['news_tourls']."\" target=\"_blank\"";
						}else{
							$news_tourls = " href=\"javascript:void(0);\"";
						}
					?>
                                <li class="info3">
                                    <a<?=$news_tourls?>>
                                        <div class="pic"><img src="<?=$piclink_rs['news_pic']?>" width="390" height="130" alt=""/></div>
                                        <div class="title"><?=$piclink_rs['news_title']?></div>
                                    </a>
                                </li>
					<?php
						}
						
						
						$piclink_sql = "select * from kboy_piclink where news_bigclass=31 order by news_top desc,news_order desc, id desc limit 1";
						$piclink_row = mysql_query($piclink_sql);
						while($piclink_rs = mysql_fetch_array($piclink_row)){
						$news_tourls = "";
						if($piclink_rs['news_tourls']){
							$news_tourls = " href=\"".$piclink_rs['news_tourls']."\" target=\"_blank\"";
						}else{
							$news_tourls = " href=\"javascript:void(0);\"";
						}
					?>
                                <li class="info4">
                                    <a<?=$news_tourls?>>
                                        <div class="pic"><img src="<?=$piclink_rs['news_pic']?>" width="400" height="130" alt=""/></div>
                                        <div class="title"><?=$piclink_rs['news_title']?></div>
                                    </a>
                                </li>
					<?php
						}
						
						
						$piclink_sql = "select * from kboy_piclink where news_bigclass=32 order by news_top desc,news_order desc, id desc limit 1";
						$piclink_row = mysql_query($piclink_sql);
						while($piclink_rs = mysql_fetch_array($piclink_row)){
					?>
                                <li class="info1">
					<?php
						$news_tourls = "";
						if($piclink_rs['news_tourls']){
							$news_tourls = " href=\"".$piclink_rs['news_tourls']."\" target=\"_blank\"";
						}else{
							$news_tourls = " href=\"javascript:void(0);\"";
						}
						
					?>
                                    <a<?=$news_tourls?>>
                                        <div class="pic"><img src="<?=$piclink_rs['news_pic']?>" width="195" height="130" alt=""/></div>
                                        <div class="title"><?=$piclink_rs['news_title']?></div>
                                    </a>
                                </li>
					<?php
						}
					?>
								
								
								
                                <li class="info6">
                                    <a href="javascript:void(0);">
                                        <span class="more-pic"><img src="images/more.png" width="38" height="38" alt=""/></span>
                                        <span class="more">MORE</span>
                                    </a>
                                </li>
                            </ul>
                        </div>
                    <div class="clearfix"></div>
                </div>
            </div>
        </div>
    </div>
    <div class="f-item-box">
        <div class="content">
            <div class="f-item-title">
                <p class="tips">TRAILS STANDARD</p>
                <div class="title-in">
                    <span class="sprite_l"></span>
                    <a href="javascript:;">步道标准</a>
                    <span class="sprite_r"></span>
                </div>
            </div>
            <div class="hd-nav-wrap">
                <ul class="hd-nav">
                    <li class="on"><a href="javascript:;">认证体系</a></li>
                    <li><a href="javascript:;">规划流程</a></li>
                    <li><a href="javascript:;">合作流程</a></li>
                </ul>
            </div>
            <div class="bd-content pt35">
                <div class="con-pane on">
                    <div class="ivv-standard">
					
                        <div class="standard-l" id="standard-1">
                            <ul class="pic">
						<?php
								$N_ClassID = 85;
								$piclink_sql = "select * from kboy_piclink where news_bigclass=$N_ClassID order by news_top desc,news_order desc, id desc limit 5";
								$piclink_rows = mysql_query($piclink_sql);
								while($piclink_rs = mysql_fetch_array($piclink_rows)){
								if($piclink_rs['news_tourls']){
									$news_tourls = " href=\"".$piclink_rs['news_tourls']."\" target=\"_blank\"";
								}else{
									$news_tourls = " href=\"javascript:void(0);\"";
								}
						?>
                                <li><a<?=$news_tourls?>><img src="<?=$piclink_rs['news_pic']?>"></a></li>
						<?php
								}
						?>
                            </ul>
                            <div class="txt-bg"></div>
                            <div class="txt">
                                <ul>
						<?php
								$piclink_sql = "select * from kboy_piclink where news_bigclass=$N_ClassID order by news_top desc,news_order desc, id desc limit 5";
								$piclink_rows = mysql_query($piclink_sql);
								while($piclink_rs = mysql_fetch_array($piclink_rows)){
								if($piclink_rs['news_tourls']){
									$news_tourls = " href=\"".$piclink_rs['news_tourls']."\" target=\"_blank\"";
								}else{
									$news_tourls = " href=\"javascript:void(0);\"";
								}
						?>
                                <li><a<?=$news_tourls?>><?=$piclink_rs['news_title']?></a></li>
						<?php
								}
						?>
                                </ul>
                            </div>
							
                            <ul class="num">
						<?php
								$i = 1;
								$piclink_sql = "select * from kboy_piclink where news_bigclass=$N_ClassID order by news_top desc,news_order desc, id desc limit 5";
								$piclink_rows = mysql_query($piclink_sql);
								while($piclink_rs = mysql_fetch_array($piclink_rows)){
									if($i == 1){
										echo "<li class=\"on\"></li>";
									}else{
										echo "<li></li>";
									}
								$i ++ ;
								}
						?>
                            </ul>
                        </div>
						
                        <div class="standard-r">
                            <h3><?=getClassName("kboy_news","news_title","news_bigclass=82")?></h3>
                            <div class="con">
                               <?=getClassName("kboy_news","news_content","news_bigclass=82")?>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="con-pane">
                    <div class="ivv-standard">
                        <div class="standard-l" id="standard-2">
                            <ul class="pic">
						<?php
								$N_ClassID = 86;
								$piclink_sql = "select * from kboy_piclink where news_bigclass=$N_ClassID order by news_top desc,news_order desc, id desc limit 5";
								$piclink_rows = mysql_query($piclink_sql);
								while($piclink_rs = mysql_fetch_array($piclink_rows)){
								if($piclink_rs['news_tourls']){
									$news_tourls = " href=\"".$piclink_rs['news_tourls']."\" target=\"_blank\"";
								}else{
									$news_tourls = " href=\"javascript:void(0);\"";
								}
						?>
                                <li><a<?=$news_tourls?>><img src="<?=$piclink_rs['news_pic']?>"></a></li>
						<?php
								}
						?>
                            </ul>
                            <div class="txt-bg"></div>
                            <div class="txt">
                                <ul>
						<?php
								$piclink_sql = "select * from kboy_piclink where news_bigclass=$N_ClassID order by news_top desc,news_order desc, id desc limit 5";
								$piclink_rows = mysql_query($piclink_sql);
								while($piclink_rs = mysql_fetch_array($piclink_rows)){
								if($piclink_rs['news_tourls']){
									$news_tourls = " href=\"".$piclink_rs['news_tourls']."\" target=\"_blank\"";
								}else{
									$news_tourls = " href=\"javascript:void(0);\"";
								}
						?>
                                <li><a<?=$news_tourls?>><?=$piclink_rs['news_title']?></a></li>
						<?php
								}
						?>
                                </ul>
                            </div>
							
                            <ul class="num">
						<?php
								$i = 1;
								$piclink_sql = "select * from kboy_piclink where news_bigclass=$N_ClassID order by news_top desc,news_order desc, id desc limit 5";
								$piclink_rows = mysql_query($piclink_sql);
								while($piclink_rs = mysql_fetch_array($piclink_rows)){
									if($i == 1){
										echo "<li class=\"on\"></li>";
									}else{
										echo "<li></li>";
									}
								$i ++ ;
								}
						?>
                            </ul>
                        </div>
                        <div class="standard-r">
                            <h3><?=getClassName("kboy_news","news_title","news_bigclass=83")?></h3>
                            <div class="con">
                               <?=getClassName("kboy_news","news_content","news_bigclass=83")?>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="con-pane">
                    <div class="ivv-standard">
                        <div class="standard-l" id="standard-3">
                            <ul class="pic">
						<?php
								$N_ClassID = 87;
								$piclink_sql = "select * from kboy_piclink where news_bigclass=$N_ClassID order by news_top desc,news_order desc, id desc limit 5";
								$piclink_rows = mysql_query($piclink_sql);
								while($piclink_rs = mysql_fetch_array($piclink_rows)){
								if($piclink_rs['news_tourls']){
									$news_tourls = " href=\"".$piclink_rs['news_tourls']."\" target=\"_blank\"";
								}else{
									$news_tourls = " href=\"javascript:void(0);\"";
								}
						?>
                                <li><a<?=$news_tourls?>><img src="<?=$piclink_rs['news_pic']?>"></a></li>
						<?php
								}
						?>
                            </ul>
                            <div class="txt-bg"></div>
                            <div class="txt">
                                <ul>
						<?php
								$piclink_sql = "select * from kboy_piclink where news_bigclass=$N_ClassID order by news_top desc,news_order desc, id desc limit 5";
								$piclink_rows = mysql_query($piclink_sql);
								while($piclink_rs = mysql_fetch_array($piclink_rows)){
								if($piclink_rs['news_tourls']){
									$news_tourls = " href=\"".$piclink_rs['news_tourls']."\" target=\"_blank\"";
								}else{
									$news_tourls = " href=\"javascript:void(0);\"";
								}
						?>
                                <li><a<?=$news_tourls?>><?=$piclink_rs['news_title']?></a></li>
						<?php
								}
						?>
                                </ul>
                            </div>
							
                            <ul class="num">
						<?php
								$i = 1;
								$piclink_sql = "select * from kboy_piclink where news_bigclass=$N_ClassID order by news_top desc,news_order desc, id desc limit 5";
								$piclink_rows = mysql_query($piclink_sql);
								while($piclink_rs = mysql_fetch_array($piclink_rows)){
									if($i == 1){
										echo "<li class=\"on\"></li>";
									}else{
										echo "<li></li>";
									}
								$i ++ ;
								}
						?>
                            </ul>
                        </div>
                        <div class="standard-r">
                            <h3><?=getClassName("kboy_news","news_title","news_bigclass=84")?></h3>
                            <div class="con">
                               <?=getClassName("kboy_news","news_content","news_bigclass=84")?>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="f-item-box">
        <div class="content">
            <div class="f-item-title">
                <p class="tips">PROJECT CASE</p>
                <div class="title-in">
                    <span class="sprite_l"></span>
                    <a href="javascript:;">项目案例</a>
                    <span class="sprite_r"></span>
                </div>
            </div>
            <div class="bd-content">
                <div class="con-pane on">
                    <div class="hot-news-bd project-case">
                        <div class="bd">
                            <ul class="picList">
							<?php
								$i = 1;
								$news_sql = "select * from kboy_news where news_bigclass=72 order by news_top desc,news_order desc, id desc limit 20";
								$news_rows = mysql_query($news_sql);
								while($news_rs = mysql_fetch_array($news_rows)){
							?>
                                <li class="pic-show">
                                    <a href="ivvview.php?newsid=<?=$news_rs['id']?>" target="_blank">
                                        <div class="pic">
                                            <img src="<?=$news_rs['news_pic']?>" width="370" height="309">
                                            <div class="pic_inner" style="display: none;">
                                                <p class="pic-order">0<?=$i?></p>
                                                <p class="pic-line"><?=$news_rs['news_title']?></p>
                                                <p class="pic-date"><?=$news_rs['news_text']?></p>
                                                <p class="show-more">查看详情</p>
                                            </div>
                                        </div>
                                    </a>
                                </li>
							<?php
								$i ++ ;
								}
							?>
								
                            </ul>
                        </div>
                        <div class="hd">
                            <a class="prev"></a>
                            <a class="next"></a>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="f-item-box">
        <div class="content">
            <div class="f-item-title">
                <p class="tips">PROJECT TEAM</p>
                <div class="title-in">
                    <span class="sprite_l"></span>
                    <a href="javascript:;">专家团队</a>
                    <span class="sprite_r"></span>
                </div>
            </div>
            <div class="bd-content">
                <div class="con-pane on">
			<?php
				$i = 1;
				$N_ClassID = 73;
				$news_sql = "select * from kboy_news where news_bigclass=$N_ClassID order by news_top desc,news_order desc, id desc limit 20";
				$news_rows = mysql_query($news_sql);
				while($news_rs = mysql_fetch_array($news_rows)){
					if($i == 1){
						$class_str = " cur";
					}else{
						$class_str = "";
					}
			?>
                    <div class="top-team-info<?=$class_str?>" data-id="<?=$news_rs['id']?>">
                        <div class="taam-info-l"><a href="ivvview.php?newsid=<?=$news_rs['id']?>" target="_blank"><img src="<?=$news_rs['news_pic']?>" width="630" height="360" alt=""/></a></div>
                        <div class="taam-info-r">
                            <h3><?=$news_rs['news_title']?></h3>
                            <div class="con">
                                <?=$news_rs['news_text']?></p>
                                <a href="ivvview.php?newsid=<?=$news_rs['id']?>" target="_blank" class="more">更多&gt;&gt;</a>
                            </div>
                        </div>
                    </div>
			<?php
				$i ++ ;
				}
			?>
                    <div class="team-list">
                        <div class="hd">
                            <a class="next"></a>
                            <a class="prev"></a>
                        </div>
                        <div class="bd">
                            <ul>
			<?php
				$i = 1;
				$news_sql = "select * from kboy_news where news_bigclass=$N_ClassID order by news_top desc,news_order desc, id desc limit 20";
				$news_rows = mysql_query($news_sql);
				while($news_rs = mysql_fetch_array($news_rows)){
					if($i == 1){
						$class_str = " class=\"cur\"";
					}else{
						$class_str = "";
					}
			?>
						<li data-id="<?=$news_rs['id']?>"<?=$class_str?>>
							<a href="ivvview.php?newsid=<?=$news_rs['id']?>" target="_blank">
								<div class="team-intro">
									<div class="pic"><img src="<?=$news_rs['news_pic']?>" width="120" height="120" alt=""/></div>
									<div class="info">
										<p class="p-name"><?=$news_rs['news_title']?></p>
									</div>
								</div>
							</a>
						</li>
			<?php
				}
			?>
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="f-item-box">
        <div class="content">
            <div class="f-item-title">
                <p class="tips">PROJECT CASE</p>
                <div class="title-in">
                    <span class="sprite_l"></span>
                    <a href="#">IVV目的地</a>
                    <span class="sprite_r"></span>
                </div>
            </div>
            <div class="bd-content">
                <div class="con-pane on">
                    <div class="show-hot-line show-hot-line-inner">
					<?php
							$news_sql = "select * from kboy_trailfoot order by id desc limit 4";
							$news_rows = mysql_query($news_sql);
							while($news_rs = mysql_fetch_array($news_rows)){
					?>
                        <div class="hot-line-item">
                            <div class="line-item-l">
                                <ul>
                                            <li><a href="trailfootview.php?newsid=<?=$news_rs['id']?>" target="_blank"><img src="<?=$news_rs['trailfoot_pic2']?>" width="135" height="91" alt=""></a></li>
                                            <li><a href="trailfootview.php?newsid=<?=$news_rs['id']?>" target="_blank"><img src="<?=$news_rs['trailfoot_pic3']?>" width="135" height="91" alt=""></a></li>
                                            <li><a href="trailfootview.php?newsid=<?=$news_rs['id']?>" target="_blank"><img src="<?=$news_rs['trailfoot_pic4']?>" width="135" height="91" alt=""></a></li>
                                </ul>
                            </div>
                            <div class="line-item-r">
                                        <h3 class="title"><a href="trailfootview.php?newsid=<?=$news_rs['id']?>" target="_blank"><?=$news_rs['trailfoot_title']?></a></h3>
                                <div class="line-detail">
                                            <p><span><?=$news_rs['trailfoot_line']?></span><span><?=$news_rs['trailfoot_allline']?></span>
                                           <span>海拔最低：<?=$news_rs['trailfoot_baltitude']?></span><span>最高：<?=$news_rs['trailfoot_taltitude']?></span><span>难度级别：<?=$news_rs['trailfoot_power']?></span></p>
                                </div>
                                        <div class="editor-inner"><span class="editor">作者：<a href="javascript:void(0);"><?=$news_rs['trailfoot_writer']?></a></span><span class="date"><?=date('Y-m-d',strtotime($news_rs['trailfoot_addtime']))?></span><div class="show-pl"><span class="watch"><i></i><?=$news_rs['trailfoot_hit']?></span><span class="pl"><i></i><?=getNewsNums("kboy_trailfoot_message","newsid=".$news_rs['id'])?></span></div></div>
                            </div>
                        </div>
					<?php
							}
					?>
                    </div>
                </div>
            </div>
        </div>
    </div>
	
	
    <!--foot begin-->
	<? include("_include.bottom.footbar.php") ?>
    <!--foot begin-->
    <!--左侧悬浮 begin-->
	<? include("_include.bottom.leftbar.php") ?>
    <!--左侧悬浮 end-->
    <!--右侧悬浮导航 begin-->
	<? include("_include.bottom.rightbar.php") ?>
    <!--右侧悬浮导航 end-->
    <script type="text/javascript" src="js/jquery-1.10.2.min.js"></script>
    <script type="text/javascript" src="js/jquery.SuperSlide.2.1.1.js"></script>
    <script type="text/javascript" src="js/main.js"></script>
    <script type="text/javascript" src="js/trails.js"></script>
</body>
</html>
